const config = require('../config')
const axios = require('axios')

module.exports.request = axios

module.exports.parseRequest = axios.create({
  baseURL: config.ParseServer.serverURL,
  headers: {
    'X-Parse-Application-Id': config.ParseServer.appId,
    'X-Parse-Master-Key': config.ParseServer.masterKey,
    'X-Parse-REST-API-Key': config.ParseServer.restAPIKey
  }
})
